import http from '../utils/HttpUtil';
import * as $ from '../utils/HHUtil';

export function post(params) {
  return http.put(
    '/sei/post',
    params
  );
}

export function reedit(params) {
  return http.post(
    '/sei/post/reedit',
    params
  );
}

export function getMyPostOfWeek(params){
  return http.get(
    '/sei/post/getMyPostOfGroupInWeek',
    {
      params
    }
  )
}

export function getUserPostOfWeek(params){
  return http.get(
    '/sei/post/getUserPostOfGroupInWeek',
    {
      params
    }
  )
}

export function getMyLast5Post(params){
  return http.get(
    '/sei/post/getMyLast5Post',
    {
      params
    }
  )
}


